#include "boss.h"

Boss::Boss(int id, string name, int did)
{
    this->m_Id = id;
    this->m_Name = name;
    this->m_DeptId = did;
}

void Boss::showInfo()
{
    cout << "职工编号：" << this->m_Id;
    cout << "  职工姓名：" << this->m_Name;
    cout << "  岗位："  << this->getDeptName();
    cout << " 岗位职责：管理公司所有事务"  << endl;
}

string Boss::getDeptName()
{
    return string("老板");
}